class HelloOhos < Formula
  desc "test helll ohos"
  homepage "https://gitcode.com/hqzing/hello-ohos"
  url "http://94.74.105.23/hello-ohos.tar.gz"
  sha256 "254139d2893c2670e73984cd2172c28704faea282d617974400330e8cc5c9ce5"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_linux:   "3f416641929a817a779910d616492604eece253c52fb062034a1822cd953cf76"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "e7f57df684c132122ac3ea1fa5590e62ad581c600694c70db7fdc32f2b4eb311"
  end

  def install
    system "make", "PREFIX=#{prefix}",
                   "install"
  end

  test do
    system bin/"hello-ohos", prefix
  end
end

